import { BaseResultType } from '#/request'
import useDealResult from '@/hooks/dealResult'
import uniRequest from '@/request'

const { dealResult, checkResult } = useDealResult()

export const getUserInfo = async (param: any): Promise<BaseResultType<any> | null> => {
    const [result, err] = await uniRequest.post('11111111', param)
    return Promise.resolve(dealResult(err, result))
}

